package cn.tedu.movie.service.impl;

import cn.tedu.movie.bean.AlipayBean;
import cn.tedu.movie.config.AlipayUtil;
import cn.tedu.movie.service.PayService;
import com.alipay.api.AlipayApiException;
import org.springframework.stereotype.Service;

@Service
public class PayServiceImpl implements PayService {

    @Override
    public String aliPay(AlipayBean alipayBean) throws AlipayApiException {
        return AlipayUtil.connect(alipayBean);
    }
}